package com.itqian.seller.mapper;

import com.itqian.seller.dto.BarDTO;
import com.itqian.seller.entity.FoodInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 菜品信息表 Mapper 接口
 * </p>
 *
 * @author shishuqian
 * @since 2022-03-21
 */
public interface FoodInfoMapper extends BaseMapper<FoodInfo> {


    List<BarDTO> getBar(Integer storeId);

    /**
     *
     * @author shishuqian
     * @desc  统计该店铺内正在促销的菜品数量
     */
    int promotionNum(int storeId);
}
